package com.example.pojo;

public class Saleinfo {
	private int billinfoID;//行号
	private String proID;//物料编号
	private int sumNum;//数量
	private double price;//单价
	private double countprice;//折扣前单价
	private double countNum;//折数
	private double rate;//税率
	private double total;//金额
	private double tax;//税额
	private double sumTax;//含税金额
	private String gift;//赠品
	private String orderID;//客户订单
	private String oddnum;//来源单号
	private String oddtype;//来源单别
	private String belong;//账款归属
	private String prepayDay;//收款日期
	private String gatherStyle;//收款天数
	private String mark;//分录备注
	private String billno;//主表编号
	private Saleunstorage sto;//主表对象
	private String prodName; //物料名称
	private String prodsize; //规格型号
	private String danwei;	//计量单位
	public int getBillinfoID() {
		return billinfoID;
	}
	public void setBillinfoID(int billinfoID) {
		this.billinfoID = billinfoID;
	}
	public String getProID() {
		return proID;
	}
	public void setProID(String proID) {
		this.proID = proID;
	}
	public int getSumNum() {
		return sumNum;
	}
	public void setSumNum(int sumNum) {
		this.sumNum = sumNum;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public double getCountprice() {
		return countprice;
	}
	public void setCountprice(double countprice) {
		this.countprice = countprice;
	}
	public double getCountNum() {
		return countNum;
	}
	public void setCountNum(double countNum) {
		this.countNum = countNum;
	}
	public double getRate() {
		return rate;
	}
	public void setRate(double rate) {
		this.rate = rate;
	}
	public double getTotal() {
		return total;
	}
	public void setTotal(double total) {
		this.total = total;
	}
	public double getTax() {
		return tax;
	}
	public void setTax(double tax) {
		this.tax = tax;
	}
	public double getSumTax() {
		return sumTax;
	}
	public void setSumTax(double sumTax) {
		this.sumTax = sumTax;
	}
	public String getGift() {
		return gift;
	}
	public void setGift(String gift) {
		this.gift = gift;
	}
	public String getOrderID() {
		return orderID;
	}
	public void setOrderID(String orderID) {
		this.orderID = orderID;
	}
	public String getOddnum() {
		return oddnum;
	}
	public void setOddnum(String oddnum) {
		this.oddnum = oddnum;
	}
	public String getOddtype() {
		return oddtype;
	}
	public void setOddtype(String oddtype) {
		this.oddtype = oddtype;
	}
	public String getBelong() {
		return belong;
	}
	public void setBelong(String belong) {
		this.belong = belong;
	}
	public String getPrepayDay() {
		return prepayDay;
	}
	public void setPrepayDay(String prepayDay) {
		this.prepayDay = prepayDay;
	}
	public String getGatherStyle() {
		return gatherStyle;
	}
	public void setGatherStyle(String gatherStyle) {
		this.gatherStyle = gatherStyle;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	public String getBillno() {
		return billno;
	}
	public void setBillno(String billno) {
		this.billno = billno;
	}
	public Saleunstorage getSto() {
		return sto;
	}
	public void setSto(Saleunstorage sto) {
		this.sto = sto;
	}
	public String getProdName() {
		return prodName;
	}
	public void setProdName(String prodName) {
		this.prodName = prodName;
	}
	public String getProdsize() {
		return prodsize;
	}
	public void setProdsize(String prodsize) {
		this.prodsize = prodsize;
	}
	public String getDanwei() {
		return danwei;
	}
	public void setDanwei(String danwei) {
		this.danwei = danwei;
	}
	public Saleinfo(int billinfoID, String proID, int sumNum, double price,
			double countprice, double countNum, double rate, double total,
			double tax, double sumTax, String gift, String orderID,
			String oddnum, String oddtype, String belong, String prepayDay,
			String gatherStyle, String mark, String billno, Saleunstorage sto,
			String prodName, String prodsize, String danwei) {
		super();
		this.billinfoID = billinfoID;
		this.proID = proID;
		this.sumNum = sumNum;
		this.price = price;
		this.countprice = countprice;
		this.countNum = countNum;
		this.rate = rate;
		this.total = total;
		this.tax = tax;
		this.sumTax = sumTax;
		this.gift = gift;
		this.orderID = orderID;
		this.oddnum = oddnum;
		this.oddtype = oddtype;
		this.belong = belong;
		this.prepayDay = prepayDay;
		this.gatherStyle = gatherStyle;
		this.mark = mark;
		this.billno = billno;
		this.sto = sto;
		this.prodName = prodName;
		this.prodsize = prodsize;
		this.danwei = danwei;
	}
	public Saleinfo(String proID, int sumNum, double price,
			double countprice, double countNum, double rate, double total,
			double tax, double sumTax, String gift, String orderID,
			String oddnum, String oddtype, String belong, String prepayDay,
			String gatherStyle, String mark, String billno) {
		super();
		this.billinfoID = billinfoID;
		this.proID = proID;
		this.sumNum = sumNum;
		this.price = price;
		this.countprice = countprice;
		this.countNum = countNum;
		this.rate = rate;
		this.total = total;
		this.tax = tax;
		this.sumTax = sumTax;
		this.gift = gift;
		this.orderID = orderID;
		this.oddnum = oddnum;
		this.oddtype = oddtype;
		this.belong = belong;
		this.prepayDay = prepayDay;
		this.gatherStyle = gatherStyle;
		this.mark = mark;
	}
	public Saleinfo(String proID, int sumNum, double price, double countprice,
			double countNum, double rate, double total, double tax,
			double sumTax, String gift, String orderID, String oddnum,
			String oddtype, String belong, String prepayDay,
			String gatherStyle, String mark) {
		super();
		this.proID = proID;
		this.sumNum = sumNum;
		this.price = price;
		this.countprice = countprice;
		this.countNum = countNum;
		this.rate = rate;
		this.total = total;
		this.tax = tax;
		this.sumTax = sumTax;
		this.gift = gift;
		this.orderID = orderID;
		this.oddnum = oddnum;
		this.oddtype = oddtype;
		this.belong = belong;
		this.prepayDay = prepayDay;
		this.gatherStyle = gatherStyle;
		this.mark = mark;
	}
	public Saleinfo() {
		super();
	}
	@Override
	public String toString() {
		return "Saleinfo [billinfoID=" + billinfoID + ", proID=" + proID
				+ ", sumNum=" + sumNum + ", price=" + price + ", countprice="
				+ countprice + ", countNum=" + countNum + ", rate=" + rate
				+ ", total=" + total + ", tax=" + tax + ", sumTax=" + sumTax
				+ ", gift=" + gift + ", orderID=" + orderID + ", oddnum="
				+ oddnum + ", oddtype=" + oddtype + ", belong=" + belong
				+ ", prepayDay=" + prepayDay + ", gatherStyle=" + gatherStyle
				+ ", mark=" + mark + ", billno=" + billno + ", sto=" + sto
				+ "]";
	}
	
}
